import 'package:flutter_taotaoshipin/generated/json/base/json_convert_content.dart';
import 'package:flutter_taotaoshipin/model/interact_user_feedback_mul_entity.dart';

InteractUserFeedbackMulEntity $InteractUserFeedbackMulEntityFromJson(
    Map<String, dynamic> json) {
  final InteractUserFeedbackMulEntity interactUserFeedbackMulEntity = InteractUserFeedbackMulEntity();
  final bool? state = jsonConvert.convert<bool>(json['state']);
  if (state != null) {
    interactUserFeedbackMulEntity.state = state;
  }
  return interactUserFeedbackMulEntity;
}

Map<String, dynamic> $InteractUserFeedbackMulEntityToJson(
    InteractUserFeedbackMulEntity entity) {
  final Map<String, dynamic> data = <String, dynamic>{};
  data['state'] = entity.state;
  return data;
}

extension InteractUserFeedbackMulEntityExtension on InteractUserFeedbackMulEntity {
  InteractUserFeedbackMulEntity copyWith({
    bool? state,
  }) {
    return InteractUserFeedbackMulEntity()
      ..state = state ?? this.state;
  }
}